|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.OpponentModel
negotiator.boaframework.opponentmodel.PerfectIAMhagglerBayesianModel
public class PerfectIAMhagglerBayesianModel
IAMhagglerModel by Colin Williams, adapted for the BOA framework. Modified such that it has perfect knowledge about the opponent's strategy. Tim Baarslag, Koen Hindriks, Mark Hendrikx, Alex Dirkzwager and Catholijn M. Jonker. Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies
| Nested Class Summary | |
|---|---|
static class |
PerfectIAMhagglerBayesianModel.Extreme
|
| Field Summary |
|---|
| Fields inherited from class negotiator.boaframework.OpponentModel |
|---|
negotiationSession, opponentUtilitySpace |
| Constructor Summary | |
|---|---|
PerfectIAMhagglerBayesianModel()
|
|
| Method Summary | |
|---|---|
void |
cleanUp()
Removes references to the objects used by the opponent model. |
protected void |
findMinMaxUtility()
Find the minimum and maximum utilities of the bids in the utility space. |
EvaluatorHypothesis |
getBestHypothesis(int issue)
|
double |
getBidEvaluation(Bid bid)
Determines the utility of a bid according to the preference profile. |
double |
getExpectedUtility(Bid bid)
Get the expected utility of a bid. |
double |
getExpectedWeight(int number)
Get the expected weight of a particular issue. |
double |
getExtremeEvaluation(Evaluator evaluator,
PerfectIAMhagglerBayesianModel.Extreme extreme)
|
Hypothesis |
getHypothesis(int index)
|
java.lang.String |
getName()
|
double |
getNormalizedUtility(Bid bid)
Get the normalised utility of a bid. |
double |
getNormalizedUtility(Bid bid,
boolean debug)
Get the normalised utility of a bid. |
UtilitySpace |
getOpponentUtilitySpace()
|
double |
getWeight(Issue issue)
Returns the weight of a particular issue in the domain. |
void |
init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the model. |
void |
setOpponentUtilitySpace(BilateralAtomicNegotiationSession session)
Method which may be overwritten by an opponent model to get access to the opponent's utilityspace. |
void |
setOpponentUtilitySpace(UtilitySpace opponentUtilitySpace)
Method which may be overwritten by an opponent model to get access to the opponent's utilityspace. |
void |
updateModel(Bid opponentBid,
double time)
Update the beliefs about the opponent, based on an observation. |
| Methods inherited from class negotiator.boaframework.OpponentModel |
|---|
endSession, getIssueWeights, init, isCleared, loadData, storeData, updateModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerfectIAMhagglerBayesianModel()
| Method Detail |
|---|
public void setOpponentUtilitySpace(BilateralAtomicNegotiationSession session)
OpponentModel
setOpponentUtilitySpace in class OpponentModel
public void init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
OpponentModel
init in class OpponentModelnegotiationSession - reference to the state of the negotiation
java.lang.Exceptionpublic double getBidEvaluation(Bid bid)
OpponentModel
getBidEvaluation in class OpponentModelbid - of which the utility is calculated.
public double getNormalizedUtility(Bid bid)
throws java.lang.Exception
bid - The bid to get the normalised utility of.
java.lang.Exception
public double getNormalizedUtility(Bid bid,
boolean debug)
throws java.lang.Exception
bid - The bid to get the normalised utility of.debug - Whether or not to output debugging information
java.lang.Exception
public double getExpectedUtility(Bid bid)
throws java.lang.Exception
bid - The bid to get the expected utility of.
java.lang.Exception
public void updateModel(Bid opponentBid,
double time)
updateModel in class OpponentModelopponentBid - The opponent's bid that was observed.time - at which the bid was offered.
java.lang.Exception
protected void findMinMaxUtility()
throws java.lang.Exception
java.lang.Exceptionpublic double getWeight(Issue issue)
OpponentModel
getWeight in class OpponentModelissue - from which the weight should be returned
public double getExtremeEvaluation(Evaluator evaluator,
PerfectIAMhagglerBayesianModel.Extreme extreme)
public double getExpectedWeight(int number)
number - The issue number.
public EvaluatorHypothesis getBestHypothesis(int issue)
public Hypothesis getHypothesis(int index)
public UtilitySpace getOpponentUtilitySpace()
getOpponentUtilitySpace in class OpponentModelpublic java.lang.String getName()
getName in class OpponentModelpublic void cleanUp()
OpponentModel
cleanUp in class OpponentModelpublic void setOpponentUtilitySpace(UtilitySpace opponentUtilitySpace)
OpponentModel
setOpponentUtilitySpace in class OpponentModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||